gfx: Improve GLSL preprocessor

Don't include the same file twice, fix #include with prefix whitespace.