Ensure CPU total is an integer on FreeBSD

This matches the behavior on other platforms.

/cc @opscode/client-engineers @opscode/release-engineers