Fix QModelingObjectRole bug when reading XMI files

Change-Id: I838b394af809b238883c6c7b977eaa4d0dd7cdc7
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>