Fix @glib:ref-func generation

Method was missing the proper return type which generated the Ref method but did not pass the check for the special Ref method handling in the generator. Also mark these return types as owned