[PATCH 2/7] pstore/ram: Fix error handling during przs allocation