Remove unneeded with-no-warnings.

The presence of a (boundp 'foo) call is enough to suppress warnings
about foo being obsolete, see the docstring of
byte-compile-maybe-guarded.