[PATCH 6.6 114/140] soc: loongson: loongson2_guts: Add check for devm_kstrdup()