[PATCH 5.10 260/406] rpmsg: glink: Add check for kstrdup