```
This PR changes the original size_t sep_pos to std::optional<size_t>
sep_post_opt to remove the warning when compiling fuzz tests.
```
Backport of core [[https://github.com/bitcoin/bitcoin/pull/18901 | PR18901]].
Note that we don't have the warning for some reason.