[PATCH 4.14] nilfs2: fix use-after-free bug of ns_writer on remount