Fix Issue 12636 - extern(C++) class that implements D interface segfaults