[DBAL-232] Fix reverse engineering undefined custom doctrine types

This PR fixes [DBAL-232](http://www.doctrine-project.org/jira/browse/DBAL-232).