patch applied (cabal): filter -threaded when profiling is on