configure: improve libheif detection and output.
Replace the "Heif >= 1.4.0" line in the summary output by a comment in the "Heif" line explaining this is about profile support. Also add a >= 1.6.0 test and output a warning for Windows and macOS (cf. bug #4185).
Showing with 27 additions and 10 deletions