[PATCH 5.4 115/151] uio: Fix use-after-free in uio_unregister_device()