effects/contrast: Round device coordinates when creating geometry
Since normal geometry is now rounded, we need to make sure to round anything that should match that geometry, otherwise we risk things peeking out of the normal geometry.
(cherry picked from commit edbbe996)