[Libguestfs] [PATCH libguestfs] generator.ml: constify do_mkdtemp