[WFLY-3220] - ArrayIndexOutOfBoundsException during periodic recovery o...

...n EJBTransactionRecoveryService

Create xaResources array under synchronized block