use DCHECK in SoftmaxLossLayer so that bounds checking has no perf penalty without DEBUG