radeonsi: calculate optimal GS ring sizes to fix GS hangs on Tonga