[PATCH 4.14 47/85] uio: Fix use-after-free in uio_unregister_device()