Fix deadlock potential with ast_set_hangupsource() calls.