time: Fix bug in ndn_toIsoString: Return an error if the time is out of range.