Add support for new versions of boot.img headers
pmbootstrap doesn't have detection and generation of boot.img files with newer versions of headers.
It is known to me that at least two latest header versions (3 and 4) are not supported.
bootimg.h from mkbootimg has the description of boot image structures and the implementation of header structs.