Fix typo in FreeBSD version checking
Split out cap_rights_limit() availability