[libc++] [test] Simplify arithmetic in list.special/swap.pass.cpp. NFCI.

Part of https://reviews.llvm.org/D102003

GitOrigin-RevId: a1f75bf091a20132dc44828a2a9a68d559f922f3
1 file changed