[msan] Fix -Wreturn-type warnings in non-self-hosted build.