oscplot.c: Add backwards compatibility for <matio-1.5.0

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