[PATCH 3.18 042/105] uio: potential double frees if __uio_register_device() fails