configure: Add a generic catch for all -W options with msvc/icl

The latest icl silently ignores certain -W* options.  While this is
effectively a nop for all other msvc/icl versions since it's just a one
line change that will clean up the command line of options that
shouldn't be there.