[PATCH 3.18 10/29] PM / hibernate: Fix oops at snapshot_write()