Handle unreadable /proc/xen/capabilities

Fixes #1854.