fix(contrib/ec2): use conditional root DeviceName

Fixes #1788
Merge pull request #1841 from ddollar/ec2-hvm

root DeviceName is conditional on paravirtualization type