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