dev-haskell/gf: workaround indexing error on -O2 optimization level

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