bug fix for AMD on linux: eglGetCurrentContext is unavailable and causes trace corruptions