Double Higgs boson production with a jet substructure analysis to probe extra dimensions