crypto/qat: move macro to common file