rs: Fix build with ISO C++ 11 compilers

ISO C++ 11 no longer allows implicit narrowing during initialization

Change-Id: Ie359c075b6687962eeaa94d909b6cb92df65213f
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
rs: Fix RS_VERSION define

Commit 51dc7a27a8749d4ad43169bf39d4378529e132cd broke the RS_VERSION
define by setting LOCAL_CFLAGS := something after the addition of
LOCAL_CFLAGS += -DRS_VERSION=...

Make sure the := definition occurs before the += amendment.

Change-Id: I320ae9215f3ef2982c707a6ecaf5a14880ffa036
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
GCC/CLang: fix build with experimental compiler flags

Change-Id: Iae56847d585e0a6ddfe9562e36ec9da9fcbb519f