Turn off 'diamond' optimizations to improve selection of key

Fixes GF-4606 when HAS_OPENGL is set.

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>

Change-Id: Ib53e01fbee62a1411549ac0898466fe8c12ddfec