Allow only Sony msm8974 devices

Change-Id: Iec9dc1940941f7b22e87c2096350391738db26b2
Merge "Allow only Sony msm8974 devices" into cm-12.0