Handle ctrl cmd allocation failures
Handle ctrl cmd allocation failures

Check that ctrl command was successfully allocated before using it.

Fixes: CID163884
Change-Id: Id19e1ce5fae6f936c9ed93f9a6317b57d28d7311

osmocom/osmo-bts,osmocom/osmo-bts,osmocom/osmo-bts