libbladeRF: Fixed build/compile issues when enabling checked locks