gio: add gcredential support for macOS
Includes !1456 (merged).
Resolves: #507 (closed)
This is completely untested: my newest Apple hardware is 18 years old and can no longer run macOS. @mlauer, @jralls or other macOS users, please could you try it, and fix it if necessary?
Edited by Philip Withnall