Bug #33844: OS/2: file opened with APR_CREATE would be truncated if APR_APPEND wasn't also given. Backport from trunk of r180013