update split_layer

Since when we add loss_weight to a loss layer, we actually introduce a
new layer above loss layer. When we add early stop layer, this will
create a split layer for two. This is solved by change some source code
in split_layer.cpp