Update VisualNavErrMonTask.cc

Corrected a compile error.