JK Rowling has said she is working with the police after receiving a potential threat from a Twitter user following her