libtorc-core: Remove gLocalContextLock

- the local context object should be the first object created and the
last destroyed - any other behaviour is 'just wrong'.