crypto/qat: refactor capabilities infrastructure