About 51,000 illegal firearms, a fifth of all illegal guns in Australia, have been surrendered in a three-month amnesty, reflecting the country's tough gun controls.