Hundreds of guns were seized and dozens of people arrested in week-long crackdown on illegal firearms in New South Wales.