J.K. Rowling has insisted she isn't bothered that her transphobia row will ruin her legacy because she will be "dead".