Clarify the behaviour of writers with NaN values.

src/json.m:
   non_finite_number_error/0 exceptions will also be thrown by writers
   if NaNs are encountered.