PDFBOX-4071: add annotation to method for Sonar to handle warnings as EOFException is normal for MemoryCacheImageInputStream