glsl2: Check for non-void functions that don't have a return statement.