ubx_genblock: generate read/write helpers