common: Fixed typos in mutex macros for check locks
libbladeRF: [WIP] Additional re-arrangement of fns
libbladeRF: Fixed build-time enable of checked locks
libbladeRF: Added simple set & readback tests for control functions

This program performs some simple operations with the various libbladeRF
"control" functions. It is mainly intended to only check for the
presence of grossly erroneous code in these functions, that would cause
crashes or bizarre results.