A 12-year-old was referred to the anti-terrorism police for posting a video on TikTok