nvc0: fix valid range for shader buffers