tsan: fix scanf interceptor