[asan] Fix compiler warnings.