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.