[Bug 21289] New: System call "dup2" returns 0 for negative inputs, thus behaving different from real Windows