fix: add missing gmtime_r check (#1013)

909069ea8237b7261e21c47607fc89a16610a8f9 introduced optional gmtime_r
support but did implement the function's availability check.
1 file changed