svga: remove pixelformat helpers from stw shared interface