fixed loss computation on bs mean

Log loss did not work using this method => use of the standard method to allow different loss functions.

There's also a similar issue on binary.cc but fixing it would require modification in calls to predict_or_learn function to make getloss accessible.