libfreerdp-core: add bulk.c to handle bulk compression in a centralized place