drm: fix allowing master ioctls on non-master fds.