named pipes: ensure ERROR_ACCESS_DENIED is defined

(integrated from trunk branch change 6b5a736 by Todd Whiteman <toddw@activestate.com>)