Convert between a 64-bit signed integer value and its wirestream codes.
This is a low-level predicate; normally, you should use
template_message/2 and the appropriate template term.
SWI-Prolog allows integer values greater than 64 bits, so
a range check is done.
This predicate delays until either Int64 or Codes is
sufficiently instantiated.