Minor fixes for MaskFormer
# What does this PR do?

Fix a bug found by @Narsil  in the `feature_extractor.post_process_panoptic_segmentation`
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/transformers/pr_15916). All of your documentation changes will be reflected on that endpoint.