util/vbuf: fix buffer translation sizing
the original change here attempted to fix calculating the maximum bound for the mapped readback buffer by adding the maximum attribute size to the final element used by readback
the calculation was erroneous, however, because it instead calculated the maximum offset instead of the size, which would cause a different kind of overrun
Fixes: 3c5b7dca ("util/vbuf: fix buffer overrun in attribute conversions")
fixes #5846 (closed)
Edited by Mike Blumenkrantz