[PATCH 6.13 107/138] soc: loongson: loongson2_guts: Add check for devm_kstrdup()