A man thought to be the youngest person to have died from coronavirus in Australia did not have the virus at the time of his death, officials said.