r300g/compiler: Fix bug in OMOD folding