recvFrame: fix std::min usage

Both params must be of the same type, at least for Ansdoird NDK.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>