Specify behavior for NaN in `iteration` and `duration` of Timing / TimingInput

Based on pull request: https://github.com/web-animations/web-animations-spec/pull/23