HALO: fix the integer division bug

The newHeight is calculated by an integer division, which leads to an
ugly bug. E.g. a 95x96 image will get a newHeight of 0 because
(95 / 96 * 113) equals to 0. This will lead to a SystemUI FC.

Fix it by multipling first and dividing afterwards.

Change-Id: I7ded7fa9c9f667e2c6ba9d90ddd16a494b6faedc