Gracefully handle struct decl/type mismatch when generating TypeInfo.

The type should have already been resolved if the struct
itself is, but due to multiple-types-per-declaration issues
in DMD, this might not be the case.

GitHub: Fixes #470.