unpackbootimg: Add support for device trees

Change-Id: I340eed99d2274a2f4cbaf5a9f27726ff3a9302e5
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_system_core into kk44