Otherwise we risk to read past the end of the buffer.
Fixes: afa8707b softpipe: add SSBO/shader atomics support.
CC: @airlied