[PATCH v4 3/5] drm: lock drm_global_mutex earlier in the ioctl handler