Don't check for triviality on fields of templated records. We can't know the
answer until after instantiation. Fixes PR16061!