stagefright: implement macro workaround for clang