[PATCH 6.6 34/70] LoongArch: Check the return value when creating kobj