plugins/fmcomms2_adv: Fix segmentation faults

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>