svg: Use C bindings in SVG loader to reduce binary size