fix bootimage lzma build

We were using the length of the uncompressed boot image when
generating the object file, whereas we should have been using the
compressed length.
Merge pull request #318 from dicej/bootimage-lzma

fix bootimage lzma build