[PATCH v3 4/9] drm: fix potential null ptr dereferences in drm_{auth, ioctl}