PM: rewrite is_hibernate_resume_dev to not require an inode