encoding/textpb: fix failed tests due to ordering of marshaled binary fields

Added temporary work-around for now by always using deterninistic
marshaling so that protoV1.Equals knows how to do comparison.

Change-Id: Idec412647269d59f86ed3e485a1893c070355b3d
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/167917
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
diff --git a/encoding/textpb/decode.go b/encoding/textpb/decode.go
index e545911..bf0d790 100644
--- a/encoding/textpb/decode.go
+++ b/encoding/textpb/decode.go
@@ -486,7 +486,7 @@
 		return err
 	}
 	// Serialize the embedded message and assign the resulting bytes to the value field.
-	b, err := proto.Marshal(m.Interface())
+	b, err := proto.MarshalOptions{Deterministic: true}.Marshal(m.Interface())
 	if !nerr.Merge(err) {
 		return err
 	}