Update flags with new memory optimizaions option

Patch set2: rewrite and remove unstable flag

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Merge remote-tracking branch 'aospal/kk-sm-4.9' into kitkat

Signed-off-by: Paul Beeler <sparksco@gmail.com>

Conflicts:
	core/combo/TARGET_linux-arm.mk
Fix ARM toolchain building

Signed-off-by: Paul Beeler <sparksco@gmail.com>
Merge remote-tracking branch 'aospal/kitkat' into kitkat