[libc++][pstl] Add serial implementations of std::inclusive_scan and std::transform_inclusive_scan (#236219)

This PR adds serial implementations of the inclusive scan operations to
PSTL.
Within this patch they are added only to the serial backend, such that
any other backend can fall back to these implementations.
A real parallel implementation is intended to land within the `statpart`
backend later, which will be a purely additive change, it will not touch
the code in this PR.

These are the added scan operations:
- `std::inclusive_scan` (3 variants)
- `std::transform_inclusive_scan` (2 variants)

Part of #99938.

---------

Co-authored-by: PaulXiCao <paulxicao7@gmail.com>
GitOrigin-RevId: 7efb1638f7cb94196057b1f8fa7726d43d84475a
11 files changed