Fix ancient bug in handling of to_char modifier 'TH', when used with HH.