R600/SI: Cleanup parsing of register names.

Try to figure out the class and number of subregisters.
R600/SI: Print more immediates in hex format

Print in decimal for inline immediates, and hex otherwise. Use hex
always for offsets in addressing offsets.

This approximately matches what the shader compiler does.