meson shared_module() creates wrong file extension on Mac
When building modules (printbackends or media) on macOS, the meson target shared_module()
creates files with the .dylib
extension. However, the GLib/GIO module system requires the .so
file extension on macOS. So the modules can't be loaded.