Update compare_set docs (#57203)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57203
Update documentation to remove warning. Refactored arguments from `old_value` -> `expected_value` and `new_value` -> `desired_value`
Test Plan: Imported from OSS
Reviewed By: gchanan, cbalioglu
Differential Revision: D28076556
Pulled By: H-Huang
fbshipit-source-id: 5fcc5bcfff89cad51d8dc0b74a234964f1af20ed