Fix return and argument types for various libiptc API calls.