put back null gui hook for osx

`--gui osx` doesn't make sense on its own, but it's called by `--matplotlib osx`, which does.

@takluyver stealthily removed OS X support in #5666, but couldn't sneak it past @jhamrick.