Fix CPU topology detection on FreeBSD