Compilation fixes
A bunch of compile fixes to make Purr Data compile again on Linux (using gcc14) and macOS (using Homebrew). Needed to make the GH CI and the OBS builds pass again.
NOTE: disis_wiimote is removed from the Linux build, as the upstream cwiid submodule we use doesn't compile with gcc14 any more. I could never get this to work anyway since the arrival of bluez5, so I don't think that many people are still using this.