Fixed #67694: Regression in session_regenerate_id()