Make C-coded built-ins take `jq_state *` argument