[PATCH v2] xenParseVif: Refactor parser