rpc: enforce packing on union.