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