Blacksmith, a startup that helps companies test and validate AI-generated code, has raised $45 million in a Series B round led by Peak.