No, Thor isn’t aware of the reforging.
I’m going to assume the hammer chose Jane as the next Worthy Person in response to Gorr, and reforged itself or some other mystical occurrence happened, where Jane and the Hammer are directly tied to one another, so Thor can be saved.