Add missing type mapping

Fixes DDC-2494, references DDC-3192.

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).