Clean up warning and add proper declaration of h5md_close_time_data.