fix the conversion to a [0,360) interval for angles in 2htdp/image

closes PR 14071