examples: adjust "patch_h5md_for_VMD" for 2D data

The VMD plugin can't yet handle 2D data. Thus we extend them to 3
dimensions by hand, putting z=0.