avcodec/bmp: Use ff_set_dimensions()