NFSv4: Move error handling out of the delegation generic code