Don't lock workspace when indexing project

There's no reason to lock the workspace when indexing a given
project.

Any changes made to the workspace during indexing will eventually be
reported through the events sent by Eclipse and the index will be
updated accordingly.

Fixes #1001795