bladeRF-cli: [WIP] Making duplicate RX and TX code common

Untested