shaders: return success correctly from link()