[PATCH 6.7 068/641] pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()