Sydney man gets 12 years for killing gay American in 1988