[Clang] Improve testing for the flexible array member (#89462)

Testing for the name of the flexible array member isn't as robust as
testing the FieldDecl pointers.

GitOrigin-RevId: 712d7dba4f27a1990241e02435d765a5a3808aea
2 files changed