genvif: Organize field setting to spec 3.12 order
genvif: Organize field setting to spec 3.12 order

A little bit of cleanup.
Bumped revision to 3.0.0.4.
Reorganized fields for easy maintenance based on 3.12.
Moved file open/close to the routine that outputs.

BUG=b:172293518
BRANCH=none
TEST=check XML output

Signed-off-by: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@google.com>
Change-Id: I4e0f55bb26fdfa91305176914812eba085a09ecd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2519809
Tested-by: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@chromium.org>
Reviewed-by: Abe Levkoy <2e1ad7039298f93262cf06bbb457275fb3e2ecb5@chromium.org>
Commit-Queue: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec