Faster Online Learning of Optimal Threshold for Consistent F-measure Optimization