TEncCu: reintroduce a macro which was removed while merging
TComDataCU: fix gcc warning
rd level: remove unnecessary calculations in intra residual encoding

calcrecon calculates recon,reconQT and reconIpred which is redundant. Use add and block copy instead of calcrecon.
rd level: fix for output mismatch

For boundary conditions, cost calculation was wrong.