Fix #653 - Fix segfault in r_core_cmd_subst_i