libbladeRF: [WIP] Fixed a few bad pointer dereferences and assertions