Vacuum expectation value of the energy-momentum tensor in a higher-dimensional compactified cosmic string spacetime