[ES][GL] Fix GetObjectLabel marked obsolete

Fixes issue #152