R600/SI: Move splitting 64-bit immediates to separate function.