surfaceflinger: Consolidate display orientation hooks