gallium/util: add new helpers for user index buffer uploading