R600: Better fix for bug 20982

Just do the left shift as unsigned to avoid the UB.