Add missing type mapping

Fixes DDC-3192, references DDC-2494.

Custom types of joined column are ignored when the query is issued using DQL (query or builder). Entity manager's `findX()`s work as expected because the issue was fixed for entity persister in #690 (DDC-2494).