[libc++] Fix a few warnings in system headers with GCC

This isn't fixing all of them, but at least it's making some progress.

Differential Revision: https://reviews.llvm.org/D106283

GitOrigin-RevId: 2e4755ff6058b5032b77ccca04aa6dab7db081a5
11 files changed