[PATCH 5.4 069/194] pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()