[PATCH v2 4/6] rpmsg: glink: Fix rpmsg_register_device err handling