Fix mode selection in rex prefix decoding.