[WFLY-572] : "Cast" model nodes in AttributeDefinition validateOperation()

Convert the attribute in operation to the expected ModelType when it is possible.
Jira: https://issues.jboss.org/browse/WFLY-572