[sanitizer] Add interceptors for localtime and friends.