Extract OSMAJOR out of ABI instead of uname -r

If the host is FreeBSD 10 and the jail is FreeBSD 9.2 uname -r will
return 10 instead of 9.2