Fix association mapping

Actually just tested with Xml driver, in this case it may isn't necessary. In the other cases the reason was that ClassMetadataInfo.isValidField() throws a MappingException if the given name is not a field but an association, so the other has to be checked first.