Added missing createInterface method

Fixes externs created with openfl-tools/utils/JavaExternGenerator.hx