Pass O3 optimization flag to arm and thumb targets

Also passing two extra optimization flags : fgcse-sm and fgcse-las
The last two are not enabled by default by any optimization levels
Change-Id: I27b05be6a103ed1064859eff57f5ec87be7bb1be