Fix for MSVC warning
Fix for MSVC warning

MSVC warning C4244: conversion from 'uint32_t' to 'uint16_t', possible
loss of data.
NOTE: this could also be fixed by appending & 0xFFFF after the function
call.

BlueCrystalLabs/bx,u-engine/bx,OlegOAndreev/bx,MikePopoloski/bx,septag/bx,septag/termite,ShuangxueBai/bx,coconutxin/bx,septag/termite,septag/bx,BlueCrystalLabs/bx,attilaz/bx,fluffyfreak/bx,fluffyfreak/bx,dariomanesku/bx,septag/termite,attilaz/bx,mmicko/bx,ShuangxueBai/bx,coconutxin/bx,bkaradzic/bx,MikePopoloski/bx,pigpigyyy/bx,bkaradzic/bx,u-engine/bx,septag/termite,0-wiz-0/bx,septag/termite,0-wiz-0/bx,dariomanesku/bx,septag/termite,pigpigyyy/bx,mmicko/bx,OlegOAndreev/bx