Recalculate: fix division by zero

Introduced in 7261a61ca1fb95ee30d0235cafc6ef045f51170a
("Allow YUV422P8 input").