ch8: work with x86_64

Copied x86_64 files from ch7. Note that HYPERVISOR_shared_info is
renamed as shared_info in this chapter examples.
ch8: fix: domain cannot write to xenstore.

The access mode of xenstore should be changed before running domain.
We can pause domain when creating and then unpause it after we change
the access mode.