try to optimize copyMacroblock by moving less data around

Signed-off-by: Dominic Szablewski <mail@phoboslab.org>
optimize copyMacroblock by keeping partial sums and reusing them. Also cleanup.

Signed-off-by: Dominic Szablewski <mail@phoboslab.org>