Subtitle queue: Avoid locking the subtitle completely when resizing.

Add a new level of locking so that the scope of the global lock can be reduced to make resizing less jerky.