R600: optimize the UDIVREM 64 algorithm