Competing predissociation and preionization in the photoabsorption of H2 above the ionization threshold