Stopping power effects in nuclear lifetime measurements