WFLY-2113: fixes validation of NamingBindingResourceDefinition