JNAerator: fixed typedefs of forward-declared enums and structs (issue #430)