Fixup armv8-a building, and make multiarch builds work

Change-Id: Ica6c855a77cb14a2c96682f6c7bf5bdae9a06970
build: Use ARM mode for arm32 builds

thumb mode does NOT work on some codecs. ARM all the way

Change-Id: Ib92d9fc718388e5e0340534cef1eeba986587653
Merge pull request #1 from CyanogenMod/cm-12.0

1