[PATCH 4.9 16/92] fs: nfs: Fix possible null-pointer dereferences in encode_attrs()