[PATCH 4.14 23/36] rpmsg: glink: Fix rpmsg_register_device err handling