testbench: allocate test harnesses on heap, for better valgrind coverage

--HG--
extra : rebase_source : ab4242bc1621b7e8e1e76aaac900638e41fb997e
inline simple functions
primitives: intra_pred[4][35] => intra_pred[35][4] (avoid *35)
search: cleanup and remove redundant variable in checkintra
search: remove redundant loacal variables in encodeResAndCalcRdSkipCU
search: simplify and remove redundant variables in getBestIntraModeChroma
param: do not allow VBV without WPP

VBV row restarts cannot function correctly without WPP (per-row CABAC starts)

--HG--
extra : amend_source : 045bf971df4d51798fd07322a5dcb85edf2290ae