Added macros for serializing simple structures.
Added macros for serializing simple structures.

Added a macro to create serialization/deserialization functions for
converting structures of two integers to and from int64 to kludge the
passing of simple structures by value.

ryepup/cl-opencv,ryepup/cl-opencv,ryepup/cl-opencv