Fix semantic segmentation pipeline test
# What does this PR do?

This fixes the pipeline test for semantic segmentation, which now fails as a consequence of the revert in #15722 
_The documentation is not available anymore as the PR was closed or merged._<|||||>I don't think we'll make another breaking change like this soon, so we're safe :-) <|||||>@sgugger I am more thinking along the line of the resampling algorithm changes subtly in torch or different hardware has different floating errors. 

Shouldn't happen in theory, but we all know theory is a far far away galaxy.