[PATCH 6.16 367/627] crypto: ccp - Fix locking on alloc failure handling