Clean up bin offset assignment in ImageWriter.
am: eaa84415d3

Change-Id: Ia9547a2867f7648774404c5dc8d0946829d0d02b