Burial and Thermal History Modeling of the Paleozoic–Mesozoic Basement in the Northern Margin of the Western Outer Carpathians (Case Study from Pilzno-40 Well, Southern Poland)