st/mesa: remove some floating point divides in viewport calculation