vrend: Clamp texture buffer range according to available limit

Fixes:
  spec@arb_texture_buffer_object@texture-buffer-size-clamp

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
17 jobs for !812 with fix-texbuf-emission
merge request