Improve 'window-text-pixel-size' when buffer includes images

* src/xdisp.c (window_text_pixel_size): Fix computation of Y when
IGNORE_LINE_AT_END is non-nil and there's a 'display' property at
TO.  Improve movement to beginning of screen line at start.  Fix
computation of Y when lines are truncated and a line begins with a
'display' property at TO.
(produce_image_glyph): Don't crop image glyph when word-wrap is in
effect.  (Bug#67533)
2 jobs for master in 121 minutes and 53 seconds (queued for 8 seconds)
Status Job ID Name Coverage
  Build Images
passed #77874
build-image-inotify

01:58:13

 
  Normal
failed #77875
test-src-inotify

00:03:40

 
Name Stage Failure
failed
test-src-inotify Normal
find: test-src-inotify-33b6de7a: No such file or directory
$ find ${test_name} ! \( -name "*.log" -o -name ${EMACS_TEST_JUNIT_REPORT} \) -type f -delete
Uploading artifacts...
WARNING: test-src-inotify-33b6de7a/: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: test-src-inotify-33b6de7a/junit-test-report.xml: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1