Reuse event pixel to compute the coordinate

Avoid to call `ol.Map#getEventPixel` twice by reusing the pixel value.

Non functional change.