objectpool: Standardize errors creation
Replace usage of status.Errorf() with helper.Errf() to make error creation more standard. Return Internal code in case of an unexpected operation failure instead of Undefined by using helper.ErrInternal(). Replace old %v with new %w for proper error wrapping.
Part of: #4471 (closed)