Use typdef instead of define for matio type backwards compatibility

This is a bit cleaner.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>