Fix conversions from pointer to tcg_target_long