emacs: Fix building on Darwin with recent versions of GCC

This gets rid of the "unexec: unrecognized section __static_data in
__DATA segment" error while dumping Emacs.
emacs: On Darwin, don't depend on gconf and cairo