[SPARK-3698][SQL] Correctly check case sensitivity in GetField

This PR is a follow up to https://github.com/apache/spark/pull/2382
It fix a bug when resolve something like `a.b[0].c.d`, https://github.com/apache/spark/pull/2382 only do case sensitive check when resolve `Unresolved("a.b")` to `GetField(Attribute("a"), "b")`, but not `c` and `d`.
Actually I need this rule always take action as I want to support another type of `GetField` like `GetFieldFromStruct`, `GetFieldFromArray`, etc. Anyway I think `UnresolvedGetField` is not necessary for this PR, I will use `resolved` field instead and put this into related PR.