[PATCH 4.14 31/39] nfc: fix error handling of nfc_proto_register()