[Libguestfs] [PATCH] osinfo: simplify reading of attributes from <media>