[PATCH 4.18 070/158] uio: potential double frees if __uio_register_device() fails