A theorem on uniformly continuous extensions of mappings defined in finite-dimensional spaces