Support XAPI::XRegisterThreadNotifyRoutine() on XDK 5558