[msan] Fix msan tests with pipefail option.