[Dubbo-10014]fix serialization of attachments in protobuf. fix issue #10014 and #10307 (#136)

* fix serialization of attachments in protobuf. fix issue #10014 and #10307 in dubbo

* fix code style and nullable argument

* fix npe when no marshaller found

* update protobuf providing forward compatibility in most cases
5 files changed