Add support for DynamicRefTable when serializing/deserializing proto

Test: make aapt2_tests
Bug: 239390219
Bug: 237783271
Change-Id: I768f9167117c3a85c4dcabf2ece8a31e277c1e98
4 files changed