JK Rowling avoids prosecution under Scotland’s new hate crime law