util, gallium/u_threaded: merge draws faster by merging indexbuf unreferencing (add p_atomic_sub_return)
Instead of N times decrementing the index buffer refcount by 1, decrement it by N once.
Instead of N times decrementing the index buffer refcount by 1, decrement it by N once.