taskschd: Use heap_strdupW to allocate the interval in TaskSettings_put_RestartInterval.