ntt does not supply an offset source for HWATOMIC. So no need to reference the offset source for HWATOMIC.
Also fixes the shared memory index used in the shared memory declaration. All references to shared memory are using index 0, and there is only one shared memory for GLSL. So just use index 0 for shared memory.
/cc @bhenden