r300g: Move render functions to r300_render.