[PATCH 09/11] drm: Extract drm_is_current_master