goprotobuf: gofixes for reflect API changes.

R=dsymonds
CC=golang-dev
http://codereview.appspot.com/4425077
diff --git a/proto/text_parser.go b/proto/text_parser.go
index 9463afc..53fb2fc 100644
--- a/proto/text_parser.go
+++ b/proto/text_parser.go
@@ -356,7 +356,7 @@
 				return p.errorf("invalid string: %v", tok.value)
 			}
 			bytes := []byte(tok.unquoted)
-			fv.Set(reflect.NewValue(bytes))
+			fv.Set(reflect.ValueOf(bytes))
 			return nil
 		}
 		// Repeated field. May already exist.
@@ -448,7 +448,7 @@
 
 // UnmarshalText reads a protobuffer in Text format.
 func UnmarshalText(s string, pb interface{}) os.Error {
-	v := reflect.NewValue(pb)
+	v := reflect.ValueOf(pb)
 	if v.Kind() != reflect.Ptr || v.Elem().Kind() != reflect.Struct {
 		return notPtrStruct
 	}