[PATCH 1/5] quartz/videorenderer: Factor out get_bitmap_header().