plugins/dac_data_manager.c: Improve error handling of analyze_wavefile()

Signed-off-by: Dan Nechita <dan.nechita@analog.com>