Fixed macro redefinition errors

Reported by AMD and Apple GLSL compilers