HHH-9090 : HQL parser is trying to reuse parent implied join for subquery

(cherry picked from commit 153c4e32ef6b78a80280d67bd5ee00cf8db4d02a)