add the lock of CastInst and GetElementPtrInst
Merge pull request #4 from HaoMengHIT/master

add the lock and Unlock of CastInst and GetElementPtrInst