monitor: use openfiles max limits in the kqueue case

kqueue(2) is very hungry for FDs when monitoring files and directories,
so use the max NOFILES value as a base for setting up monitor limits.
This mitigate the chance to run into the infamous "Too many open files"...

https://bugzilla.gnome.org/show_bug.cgi?id=712349