nfsd: fix compound state allocation error handling