Barrier-crossing times for different non-Markovian friction in well and barrier: A numerical study