fix hydration of simple field by reference

https://github.com/doctrine/DoctrineModule/pull/174#discussion_r3800564