add cqueue_spsc_print()
fix a bug where the wrong slot was being freed in cqueue_spsc_pop_slot_finish()