[PlasmaComponents/TabGroup] Fix check if item inherits from Page
TabGroup had a feature where if the item inserted in the stack was a PlasmaComponents.Page it would update a property.
The check that this property exists was previously bogus leading to errors if TabGroup was used with non-Page items.
Tested with plasma-desktop!258 (merged) and KickerLoader replaced with a regular loader.