[BUGFIX][DOC] image/gif should not be used with PDF output

Change-Id: I17dee53c4e186db94f34cfe686d9bf4d829fd1fa
Fixes: #50633
Reviewed-on: https://review.typo3.org/22747
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer