Graphite optimizatoin flags

Enable with use TARGET_USE_GRAPHITE
*currently expermental

Change-Id: I2126a86986c4f7eed7252ed40d860b2f74725afb
fix graphite optimization support

Change-Id: Ifa79b8714559d5d8710aaa6a17e9b26ffd226304