interface: fix return code of __interface_add()