TEncCU:fix for memory leak
move calcSaoStatsRowCus_BeforeDblk into encode loop