[PATCH 6.1 505/600] rpmsg: glink: Add check for kstrdup