psd: Fix crash in malformed images

oss-fuzz/48480
6 jobs for !81 with work/aacid/ossfuzz48480 in 3 minutes and 54 seconds (queued for 6 seconds)
latest merge request