nfsd4: move proc_compound xdr encode init to helper