[ASan] Fix a compile-time warning