sw/ad9361_api: clear malloced memory

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>