Windows: Fix debug RTL assertion when attempting to _commit(stdout)
or _commit(stderr).

Submitted by: Mike Rumph <mike.rumph oracle.com>
Reviewed by trawick, who adjusted the patch to remove the existing _commit(stdin)


git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1539455 13f79535-47bb-0310-9956-ffa450edef68