sunxi:pm: Fix suspend to RAM

This patch fixes crash in try to suspend to RAM for sun4i and sun5i
machines