compiler/types: Add a new is_interface C wrapper