svg-load: stop using deprecated functions