Fixed rsQuaternionAdd() implementation

Bug: 26272685

We use float4 to represent a quaternion, in which
a float4 q = (x,y,z,w) represents quaternion
wi + xj + yk + zl.

According to Wikipedia and Wolfram, the addition of two quaternions
q and r should be defined as the following
(q.w+r.w)i + (q.x+r.x)j + (q.y+q.y)k + (q.z+r.z)l,
using the above representation of quaternions.

https://en.wikipedia.org/wiki/Quaternion
http://mathworld.wolfram.com/Quaternion.html

Change-Id: I07837b266f51b664bed2dc50b9ff71ba375f5aaf
diff --git a/api/rs_quaternion.spec b/api/rs_quaternion.spec
index fa37b38..ced31c8 100644
--- a/api/rs_quaternion.spec
+++ b/api/rs_quaternion.spec
@@ -28,10 +28,10 @@
 description:
  Adds two quaternions, i.e. <code>*q += *rhs;</code>
 inline:
- q->w *= rhs->w;
- q->x *= rhs->x;
- q->y *= rhs->y;
- q->z *= rhs->z;
+ q->w += rhs->w;
+ q->x += rhs->x;
+ q->y += rhs->y;
+ q->z += rhs->z;
 test: none
 end: