libbladeRF: [WIP] Moved a few snippets from linux backend to top level.