libwinpr-environment: implement required functions for CreateProcess