R600: Implement iterative algorithm for udivrem