libbladeRF: Fleshed out the TX callback.

Actually made the callback do some calling back in the TX direction.
This looks like it keeps up in general.

Also fixed up some of the test program so we don't try to transmit
samples which are outside the buffer.

Currently some memory issues when deallocating transfers.