Potentially a direct hit from a GRB few kiloparsecs away would cause issues, but for extinction level events the GRB needs to be a lot closer.
This doesn't seem to be a GRB. It's more likely to be a magnetar, and at this distance there's nothing at all to worry about.