libbladeRF_sync: Moved callbacks into worker.c, fixed mem bugs