highgui: Support to change trackbar count in setTrackbarPos for QT, GTK and Cocoa.