haskell-regex-tdfa: fix build with array 0.5.0.0 and later