Cleanup and fix compiler warnings

* transport: fix unhanded case in transport_check_fds
* winpr/pipe: remove re-declaration and fix for variable type
* sample client/server: fix compiler warning
* fix and improve Get/SetEnvironmentVariableA including tests
* winpr/path: change GetKnownSubPath to take const path argument
* core/fastpath: fix compiler warning