community/pandoc-cli: switch to cabal's v2 command-line interface
This allows us to specify flags and constraints during creation of the freeze file. As such, we can ensure that flags such as +lua are not downgraded by the solver.
Fixes #15451 (closed)