Tweak ast_channel_softhangup_withcause_locked() to take a typed parameter.