REDEFINED-NAMES

This function collects names that have been redefined in the current ACL2
state. :Program mode functions that were reclassified to
:logic functions are not collected, since such reclassification
cannot imperil soundness because it is allowed only when the new and old
definitions are identical.