Output file has wrong STRIPOFFSETS, plus interpolation warning

See #58 for description of the issue.

I fixed all the warnings I got. I guessed how the interpolation code was supposed to work, so that may be wrong.

I forced hdrmerge to treat the return value of tellp() as 32-bit always, for the purposes of writing the STRIPOFFSETS TIFF tag.