bsls_protocoltest: Fix nightly build failures (#3622)
bsls_protocoltest: Fix nightly build failures (#3622)

* bsls_protocoltest: Fix nightly build failures

This change set fixes the nightly build failures for
`bsls_protocoltest` when compiling with GCC 11 or later in
C++03 mode.

* Add Explanation and Fix Build

* Address Review Feedback

* Address Review Feedback
bloomberg/bde,bloomberg/bde,bloomberg/bde,bloomberg/bde,bloomberg/bde