[PATCH 5.8 434/633] rpmsg: Avoid double-free in mtk_rpmsg_register_device