SUNRPC: move bkl locking and xdr proc invocation into a common helper