Generate refcount get/put functions with a wrapper macro
Generate refcount get/put functions with a wrapper macro

- Use macros to generate refcount functions, rather than repeating the
same code four times

- Rename mrpc_conn_free() to conn_free()

cmusatyalab/minirpc,cmusatyalab/minirpc