allow to build thumb with O3 if flag is set

to compile with O3, set TARGET_THUMB_O3

Change-Id: I8022be157803af10e70d8dc5cc838b1a8bd1d920