crypto/qat: optimize ADF modulo function