Updated get-headers.sh script to play nicer with hags

Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>
[hags] Imported Android headers from aosp (android-4.2.2_r1.1)

Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>