[PATCH 07/16] rpcgen: define a visitor API for XDR protocol specs