[PATCH 4.19 28/47] rpmsg: glink: Fix rpmsg_register_device err handling