[clang-tidy] properly handle private move constructors in `modernize-pass-by-value` check (#141304)

Fixed false positives when class passed by const-reference had a private
move constructor, which could not be used for a fix-it.

Closes https://github.com/llvm/llvm-project/issues/140236.

GitOrigin-RevId: 66316657ab36e4a262c9a2fe378d25421e116487
3 files changed