xseg: Fix compilation warnings