Fixed bug #64785 : restore 5.4 behaviour, libpng is mandatory