If you're going to add an active external part, you might as well add literally any ADC on a SPI bus that would actually work, instead of using the broken-by-design ESP32 analog peripherals. Alternatively, you can do a 3-way resistive divider to pull up the "zero" output of photo-device above 100mV.