surfaceflinger: Work around aliasing violation.

If the target doesn't need this code, it can simply disable it.