Photodissociation of trapped $\mathrm{H}_{2}^{+}$ ions for REMPD spectroscopy