common,w32: Extend gnupg_create_inbound_pipe et al.
* common/exechelp-w32.c (do_create_pipe): Rename, add arguments, and create a stream if reqested. (gnupg_create_inbound_pipe): Use the extended function to open the stream if requested. (gnupg_create_outbound_pipe): Likewise. (gnupg_create_pipe): Update call site.
- Fixes-commit: 5d991e333a1885adc40abd9d00c01fec4bd5d9d7
- Signed-off-by: Justus Winter <justus@g10code.com>