JK Rowling defended by Warner Bros after question about writer blocked at Harry Potter celebration