oscplot.c: Skip unhandled items when restoring profiles

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