racket/draw: fix serializaiton of bitmap drawing in `record-dc%`

Closes PR 14349