[PATCH 2/4] trace: clang compatible handling of gd register