[PATCH] build: add detection of xdrproc_t arguments count