clang-format main include files.

Update doxygen formatting in few places.
Report nullptr definitions in a few places

Note that this does not fix the underlying issue UserProc::lookupSymFromRef, UserProc::lookupSymFromRefAny still
receive RefExp with invalid pointer to defining statement.