[PATCH 4.14 098/204] NTB: ntb_transport: fix possible memory leak while device_register() fails