drm/ttm: Fix memory type compatibility check