NFS: fix the return value check by using IS_ERR