Fixed FLAG bit emulation for improved 80286/80386 compatibility