[Chapel Merge] Fix chplvis build

Branch: refs/heads/main
Revision: 732ffa9
Author: aconsroe-hpe
Link: Fix chplvis build by aconsroe-hpe · Pull Request #18771 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #18771 from aconsroe-hpe/fix-chplvis

Fix chplvis build

reviewed by ronawho

This dynamic_cast succeeds in c++03 but not in c++11 or later. Removed
the macro altogether as it was only used in 2 callsites

Modified Files:
M tools/chplvis/MenuManager.cxx

Compare: https://github.com/chapel-lang/chapel/compare/cf9569b7ad9e...732ffa94f72e