bootgen: fix handling of imcomplete images.

bootgen always creates some headers after 08c0, but custom tools are not
required to, so now bootgen handles those cases gracefully.