Fix ASSERT changes in acc2013

An entry in the FUNS of the LEXENV does not necessarily imply a lexical
function. Check for FUNCTIONAL-P to only pick up lexical functions, not
macros and other things.