Capnproto run-time decoding and encoding for AMD