Fix XMI read of primitive valued properties serialized as elements

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