Use __has_feature(capabilities) rather than more ad hoc mechanisms to detect
compiler support for capabilities.
Merge branch 'master' of https://github.com/CTSRD-CHERI/cheribsd