Fix SDKHooks Spawn hook crashing in Dota.

--HG--
extra : rebase_source : dfe1eb22256268b321b8c24be718fbc7c770e74e
Remove 'state' keyword from compiler (bug 4572, r=dvander).