[CountingPrivateSemaphore] Fix assert
As the code comment above the assert indicates, the atomic exchange operation may either return nullptr or a valid Context pointer. And this is what the assert() should assert. :)
Reported-by: Florian Fischer florian.fl.fischer@fau.de