glsl/linker: add check for compute shared memory size