[libpng17] Changed "if (!x)" to "if (x == 0)" and "if (x)" to "if (x !== 0)"