PM: Change hibernation code ordering