jni: rtp: fix c++11 narrowing violations

Summary:
The best fix for these violations is to use
static casting

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D137