[FIXED JENKINS-18913] Make Doxygen parser handle global messages correctly

The parsing of local messages did not recognize global messages as a
point to stop grabbing the message.

Link to issue: https://issues.jenkins-ci.org/browse/JENKINS-18913