Voodoo: fix compiler issues for US S3