GH-73991: Use same signature for shutil._rmtree_[un]safe().
#120517
Merged
shutil._rmtree_[un]safe().
#120517