[PATCH openEuler-1.0-LTS v2 658/771] io_uring: account locked memory before potential error case