use reentrant monitors from xul6 branch for moz/threads and moz/windowwatcher
use mozilla::Monitor instead of mozilla::ReentrantMonitor