[PATCH v3 7/8] drm/omap: add omap_gem_validate_flags()