[refactor] make h2o_concat type-safe