Allow infix matching when building ObjectGet terms

This is similar to what we have to do with operators.