libfreerdp-core: Limit multifrag max size to 0xFFFF

The next version of MS-RDPBCGR will limit this value to a maximum of 0xFFFF (just as mstsc does currently). Fixes #1182