imgp: fix compat with pillow 10.0

https://hydra.nixos.org/build/229798758/nixlog/4/tail
https://pillow.readthedocs.io/en/stable/deprecations.html#constants

+5
+5
pkgs/applications/graphics/imgp/default.nix
··· 11 11 sha256 = "1miabaxd5pwxn0va4drzj1d4ppxvyqsrrd4xw1j6qr52yci0lms8"; 12 12 }; 13 13 14 + postPatch = '' 15 + substituteInPlace imgp \ 16 + --replace "Image.ANTIALIAS" "Image.Resampling.LANCZOS" 17 + ''; 18 + 14 19 propagatedBuildInputs = [ pillow ]; 15 20 16 21 installFlags = [