Avoid a possible race condition where the XEngine script compile thread could complete but see OnRezScript() insert a new job and complete before it set m_CurrentCompile = null

If the above happened, it would mean the new script would not compile until some  script was added for compilation.