xrdp: speed up bitmap cache lookup using hash table