add __APPLE__ to the list of operating systems that can use sysconf() to get open file limits
Fixes #2253 (closed)
I haven't tested this change out entirely. It compiles, but I'm basing this off of the code in vte@efebf38e which was a pretty direct copy of gspawn.c, so I'm going to assume it works.