extensions/image-properties: Replace deprecated functions
Build log contains deprecation warnings for gexiv2 functions.
Replaced gexiv2_metadata_has_tag()
with
gexiv2_metadata_try_has_tag()
and gexiv2_metadata_get_orientation()
with gexiv2_metadata_try_get_orientation()
Closes: #2033 (closed)