Explicitly discard released proto strings in test.

In newer releases of the protobuf library, the release_* methods
are marked [[nodiscard]], which causes a compilation error here.

Bug: 203713560
Test: presubmit
Change-Id: If8c6392a5d36014f1839deaaf241b636610add71
1 file changed