[PATCH v9 3/4] drm: lock drm_global_mutex earlier in the ioctl handler