cmdEraseMemory(): fix incorrect crc calculation