[PATCH 4.14 29/61] fs: nfs: Fix possible null-pointer dereferences in encode_attrs()