[PATCH 4.19 052/148] pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()