syscall: avoid memory corruption in mksyscall_windows.go with *bool parameters
syscall: avoid memory corruption in mksyscall_windows.go with *bool parameters

Windows type PBOOL is a pointer to a 4 byte value, where 0 means false
and not-0 means true. That means we should use uint32 here, not bool,
since Go bools can be 1 byte. Since a *bool is never a "real" valid
Windows type, converting on both in and out is probably sufficient,
since *bool shouldn't ever be used as something with significance for
its particular address.

Updates: #34364
Change-Id: I4c1b91cd9a39d91e23dae6f894b9a49f7fba2c0a
Reviewed-on: https://go-review.googlesource.com/c/go/+/196122
Run-TryBot: Jason A. Donenfeld <e7e312fea4c2c1aad2bb075d739111890e1ce08b@zx2c4.com>
TryBot-Result: Gobot Gobot <66cb808b70d30c07676d5e946fee83fd561249e5@golang.org>
Reviewed-by: Alex Brainman <54ba58c8441b5eff861de6b4e5ee46baf086b142@gmail.com>

nawawi/go,nawawi/go,nawawi/go,CAFxX/go,golang/go,golang/go,CAFxX/go,CAFxX/go,akutz/go,CAFxX/go,nawawi/go,nawawi/go,cloudflare/go,golang/go,akutz/go,CAFxX/go,akutz/go,nawawi/go,CAFxX/go,akutz/go,akutz/go,cloudflare/go,CAFxX/go,cloudflare/go,cloudflare/go,nawawi/go,cloudflare/go,nawawi/go,cloudflare/go,golang/go,akutz/go,CAFxX/go,golang/go,akutz/go,golang/go,golang/go,golang/go,cloudflare/go,cloudflare/go,akutz/go