[PATCH 4.14 079/343] driver: uio: fix possible use-after-free in __uio_register_device