Fix some build issues.

1. Add linux/err.h header into drivers/xen/sys-hypervisor.c.

So it could find the definition of IS_ERR and PTR_ERR.

2. Select CONFIG_PM_SLEEP if enabling CONFIG_RAMOOPS

`pm_register_suspend_volatile' is called in function `ramoops_probe',
introducing this dependency.