r300: Fix handling of NV_vertex_program parameters