Some improvements to widl.
This MR improves widl with :
- fixes a segfault when inheriting from an incomplete interface (prints an error message instead),
- supports (for C++) inheriting from interfaces which are declared after the declaration of the derived interface.