app: aboot: Add UBI image awareness to fastboot code

Current implementation of flasher in LK just writes the provided image as raw data.
This is not good enough when writing a UBI image since some UBI META data should
be preserved.

Change-Id: I2c85b02d167db9a1a22a6eb6fe8181f7db1c64b2
3 files changed