[new uImage] Share common uImage code between mkimage and U-boot