dev-haskell/alex: synced BE fix back from gentoo-x86

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