Improve debugging for unaligned erase in the flash chip emulator

Fix out-of-bounds access for chip erase in the flash chip emulator.

Corresponding to flashrom svn r1259.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: David Hendricks <dhendrix@google.com>
1 file changed