remove useless wrapper decl and fix compile error in cpp mode.
fix HT_EVENT_TASK internal timer check bug.