RT#88222 check that Time::HiRes has 'stat'

Resolves problems with Time::HiRes < 1.92 such as on v5.8.8 and below