Computational wave-based photoacoustic imaging through an unknown thick aberrating layer