[libcxx] Add `__split_buffer::__swap_layouts` (#180102)

This commit simplifies the cumbersome process of swapping the respective
layout members for `__split_buffer` and `vector`.

NOKEYCHECK=True
GitOrigin-RevId: 65f39a16abf651008185839459fb330258800a62
2 files changed