md: remove unnecessary 'buf' from get_bitmap_file.