[sdk-vm] Add resize rootfs support

Signed-off-by: David Greaves <david.greaves@jollamobile.com>
[mb2] Don't leak device attributes between XML nodes

Signed-off-by: David Greaves <david.greaves@jollamobile.com>