get_reg(): try to free r2 for an SValue first