ppc: fix some compilation bugs when DIET mode is enable
x86: allow to mix REX & legacy prefix repeatedly in any order