(my_strftime): Merge in locale-related changes from libc. These changes have no effect outside of _LIBC.