Reductive Cyclization and Petasis‐Like Reaction for the Synthesis of Functionalized γ‐Lactams