pstore/ram: Fix crash when setting number of cpus to an odd number