libfreerdp-core: fix server-side update encoding edge case