app: simplify and clean up angle utility functions in GimpDial