FreeBSD 10 memlimit enhancement and overlength-strings workaround.

Ok, this separates the reporting of rlim_max from the testing of the limit and conditionally uses RLIM_INFINITY with integer overflow detection as the fallback.  And it builds on FreeBSD 10 with the -Wno-overlength-strings workaround.