[S] Change in osmocom-bb[master]: Fix potential NULL pointer dereferences, discovered by Coverity Scan