surfaceflinger: don't handle EVENT_ORIENTATION when !HWC_DEVICE_API_VERSION_1_0
a184463 causes segfault on boot for the enrc2b (and probably others), this fixes it.

Patch Set 1:
Change-Id: Ic4a7a05b44c8cc44a0d25c56def4acdf5b0939df

Patch Set 2:

This fixes Revert of SurfaceFlinger don't show animations and any build issues. The rom will now function a lot more smoother.