Skip StatementCache for eager loaded associations

(Fixes #16761)

Eagerly loaded singular and collection associations are ignored by the StatementCache, which causes errors when the queries they generate reference columns that were not eagerly loaded.

This commit skips the creation of the StatementCache as a fix for these scenarios.