[NFC][clang-tidy]refactor isAssignmentToMemberOf in PreferMemberInitializerCheck (#71006) GitOrigin-RevId: 43e13fdc9e8edd425f640c424071377879c07822