Uint8Array allocator for capnp-js-amd