Fix all tests that fail with -sanitize=return.