JK Rowling will not face prosecution under Scotland hate crime law