[PATCH 4.14 51/54] PM / hibernate: Fix oops at snapshot_write()