[ES][GL] Fix GetObjectLabel marked obsolete

Fixes issue #152
Merge pull request #179 from thefiddler/issue152

[ES][GL] Fix GetObjectLabel marked obsolete