linker: Remove redundant check for 'main' in shaders