[Libguestfs] [PATCH] p2v: check results of strndup and sscanf