Effects of nanoscale vacuum gap on photon-enhanced thermionic emission devices