[PLAT-6340] Fix semaphore destruction issue from previous commit

The previous solution allows the notification semaphore to be destroyed prematurely. A reference counted form avoids this.
Reviewed-by: Stephen Colebourne