unpackbootimg: Add support for device trees

Change-Id: I340eed99d2274a2f4cbaf5a9f27726ff3a9302e5
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0