crypto/cnxk: use struct sizes for CTX writes