[PATCH 6.12 186/369] crypto: ccp - Fix locking on alloc failure handling