fix futimes legacy function with null tv pointer

a null pointer is valid here and indicates that the current time
should be used. based on patch by Felix Janda, simplified.
1 file changed