Slightly optimised tabosc4_perform by diving the loop in two
tabosc4 fix