pv: move device size query to device.ml

Signed-off-by: David Scott <dave.scott@eu.citrix.com>