highgui: Support to change trackbar count in setTrackbarPos and replaced deprecated CreateToolbarEx in Windows.