drm: fix locking in gem debugfs/procfs file