gdk/macos: fix builds on macOS before 10.13
Nothing profound here, just need to get some of the workarounds into the right places.
Fixes #5738 (closed).
Nothing profound here, just need to get some of the workarounds into the right places.
Fixes #5738 (closed).