Fix indirect draw max_indices on Freedreno/a5xx
The calculation of the number of elements for indirect draw is wrong, the offset is being subtracted from the dispatch size. This is wrong because size is the absolute number of elements to draw and is independent from the offset.
A similar fix was submitted for a6xx at 79180a05.
See this issue for details.
Edited by Eduardo Lima Mitev