Fix addtimer will report error when hit MAX_EVENTTIMER

Fix bug 7965
http://hercules.ws/board/tracker/issue-7965-