Add msm8974 to build barrier and update init files

(imported from CM with modifications)

Description:  These changes are extracted from this change...
http://review.cyanogenmod.org/56103

...and adjusted for AOKP purposes.

Change-Id: I1ab6d8e27c6553385b7a307c39acca2214b812fc

Patch Set 6

Change-Id: Ic50e1ede7d9dbf7ee6ea9c88064ba94269a42793