Only link shader if kGlslOptionNotFullShader is not present

This patch makes it possible to provide a shader without "main" if "kGlslOptionNotFullShader" is set.
All tests pass.