[flashrom] Bug in erase/write for layout with unaligned region