native: Make setting the buffers size conditional to qualcomm hardware

This is a partial ifdef of CAF commit d6eecf50919312c1dd778c5742de72bb98f98f1a.

Some devices might have proprietary bits that link against libgui/libui components
and are not expecting the ABI mismatch introduced in that commit.

Change-Id: I0670990fcb903ee750d4d2925175b9588cf35f45
sensorservice: add fusion sensors if all events are supported

- Fusion sensors depend on gyro, mag field, and accelerometer
  events in order to emulate these sensors.  Don't create
  them unless ALL of the real hardware devices required exist.

Change-Id: I1bce167a52c2dfc56a07450f858b01b78c39b7fe
Merge remote-tracking branch 'cm/cm-11.0' into HEAD