Backport of JDK-8305666: Add system property for fair AWT lock.