Parse `time.Duration` values.

Ensure `decodeLiteral()` does not attempt to set unexported fields.