Higher-dimensional resolution of dilatonic black-hole singularities