Fix one case where we test goout rather than has_goout.  The effect
was to incorrect use a return statement before the goout typemap
code.