misc/soapysdr: fix build with gcc-based architectures
PR: 231666 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>