Revert "[Mac] Don't initialize NSApplication when running as guest"

This reverts commit a6e8c23c436289cce63e6a097cc8d9dc691ef08e.