Summary:
binary_upgrade_set_pg_class_oids does not clear pg result in index case.
Fixed by clearing pg result in all cases.
Fixed in upstream PG by commit e6fc3b70df906868df36517c2c7c5a38725e1451
Jira: DB-14076
Test Plan: ./yb_build.sh asan --cxx-test xcluster_sequences-test --gtest_filter XClusterAutomaticModeTest.SequenceReplicationBootstrappingBumpInMiddle
Reviewers: stiwary, tfoucher
Reviewed By: tfoucher
Subscribers: ybase, yql
Tags: #jenkins-ready
Differential Revision: https://phorge.dev.yugabyte.com/D40382