[Tizen] Fix: The screen displayed abnormally when playing some size of html5 mp4 videos on Tizen IVI.

Bug report: https://crosswalk-project.org/jira/browse/XWALK-1781
please use `static_cast` in C++