freerds: ensure 4-byte alignment of bitmap buffers