suppress the warnings from get_valid_iv_sym()

The parameter iv_name SHOULD be string or symbol, but there is no
garantee on it.
Merge pull request #1408 from Fleurer/fix-warning-get-valid-iv-sym

suppress the warnings from get_valid_iv_sym()