Fix gimp_constrain_line() and friends to properly constrain line angles when the image's horizontal and vertical resolutions are different, and dot-for-dot is disabled. (cherry picked from commit 4fefab17)