qat: avoid strict-aliasing break