glsl: fix crash compiling bindless samplers inside unnamed UBOs
The check to see if we were dealing with a buffer block was too late and only worked for named UBOs.
Fixes: f32b01ca "glsl/linker: remove ubo explicit binding handling"
Fixes a crash in the new bindless ubo tests that make use of explicit bindings piglit!150 (merged)