sh: Fix up switch_to() type casts.