osc.c: Allow to Save/Restore the visibility state of tooltips

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