[7.x branch] Fix for JBMETA-364

The commit here fixes the issue reported in https://issues.jboss.org/browse/JBMETA-364 where a 2.1 version of ejb-jar.xml containing a nested message-destination element in assembly-descriptor would throw a parsing failure.