vala: fix wrapping of port setting calls