Added FreeBSD section to check_mem.pl

As written in issue, the values returned from check_mem.pl on FreeBSD systems were way off the reality. I added a special FreeBSD section calculating the memory usage from sysctl.