[AS7-6238] Deadlock in Module FallbackClassLoader

https://issues.jboss.org/browse/AS7-6238
#### Contains #3729