[PATCH 6.5 600/739] rpmsg: glink: Add check for kstrdup