Wraps FPDFBitmap_Destroy. Idempotent. After
pdf_image_set_bitmap() has attached the bitmap to a page-object,
explicit close is safe (PDFium has copied the pixel data into the
PDF — closing only releases the standalone in-memory bitmap, not
the embedded image).