vbo: move vbo_get_minmax_indices into its own source file