[fidl][go] Fix header flag byte for v2 wire format

On send side, the wrong flag byte was used. This fixes the bug and
switches to the last flag byte.

This was detected when running the compatibility tests. No test is
included in this CL because it will be tested once compatibility tests
are enabled and I want to fix the issue before then so it isn't
forgotten.

Bug: 80348
Change-Id: I5b10bf38bf2af42580c917eb07e84d9239eed60e
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/go/+/562067
Reviewed-by: Mitchell Kember <mkember@google.com>
Commit-Queue: Benjamin Prosnitz <bprosnitz@google.com>
diff --git a/src/syscall/zx/fidl/ctx_and_header.go b/src/syscall/zx/fidl/ctx_and_header.go
index 916d17b..78e9096 100644
--- a/src/syscall/zx/fidl/ctx_and_header.go
+++ b/src/syscall/zx/fidl/ctx_and_header.go
@@ -68,7 +68,7 @@
 func (ctx MarshalerContext) NewHeader() MessageHeader {
 	var flagByte0 uint8
 	if ctx.UseV2WireFormat {
-		flagByte0 = 1
+		flagByte0 = FidlV2WireFormatFlagMask
 	}
 	return MessageHeader{
 		Flags: [3]uint8{flagByte0, 0, 0},