Cleans up locking in THMoviePictureBuffer. Should fix some deadlocks that were introduced in my last commit

git-svn-id: http://corsix-th.googlecode.com/svn/trunk@2039 c39591fa-788f-11de-a72b-d90af8dea425