plugins/dac_data_manager.c: Ignore multiple new lines at the end of a waveform file

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