Yeah, humanity most likely not to persist long enough, at least in our current form, for this to be an issue. I would expect us to have evolved into some sort of space-faring organism by that point in time, and we would most likely have burned up our planet just fine by ourselves before the sun goes all genocide on us.