[PATCH openEuler-1.0-LTS] pstore/ram: Fix crash when setting number of cpus to an odd number