unpackbootimg: Add support for dumping ramdisk offset

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