g2meet: reset dimensions on header parsing errors
g2meet: more graceful cursor loading
g2meet: do not leak buffers