main/xen: write domain 0's domid to xenstore

Since xen 4.4 we need set domid for dom0.

see http://xenbits.xen.org/gitweb/?p=xen.git;a=patch;h=02ebea7768fe723deaa56c2cfcb860874544b47d