spmc_queue: Fix leaked refernce counts

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>
Add void to barrier function prototypes

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>