[PATCH 4.17 59/67] PM / hibernate: Fix oops at snapshot_write()