Merge pull request #376195 (netrw build fix)
This fixes a build error with GCC 14.
The ofborg checks for Darwin are still pending since 4 days, but given
that it's a fix for an already broken build, the worst case that could
happen is that it's still broken. This is why I decided to merge this.