bitmap_get is only used in the DEBUG RTS configuration. Fixes #21079.
#47823
#47822
mentioned in merge request !7590 (closed)