jni: rtp: fix c++11 narrowing violations

The best fix for these violations is to use
static casting

Change-Id: I5ce4e5ed57501cff9e6993e91175c3901adcc634
voip: use no strict aliasing for now

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>