disable known-to-fail -O2 optimizations only on ghc-7.6

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>