tcg: make tcg_const_ptr actually accept a pointer argument