[PATCH openEuler-22.03-LTS-SP2] quota: Fix potential NULL pointer dereference