[PATCH 6.1 26/61] LoongArch: Check the return value when creating kobj