Fix aot miscompilation due to the lazy supertypes initialization.