Remove AIStateMachineThreadBase* argument from AIThreadImpl constructor.

Also removes the use of 'this' to initialize base classes, which led to
a compiler warning on vs2010.