when building on Apple with Clang >= 17.
These specialisations are not strictly required by the C++ standard,
and have been removed from LLVM.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20631
(cherry picked from commit a5be581b1b73294f52d85854b571c4959767f20b)