Fixed strange bug with forever-looping spsc queue.

Replace hack call to std::this_thread::yeild() with
the proper volatile annotation on doneReading_ in BAMQueue