Fix loosing precision

I had a warning on building for iPhone 64 bit.
As you can see above variable "rc" has a type of size_t too( void Console::commandUpload(int fd) );
Merge pull request #6264 from iSevenDays/patch-10

Fix loosing precision: int -> size_t for the return value of `recv`