[BT] Use variadics for alert handling.
[BT] Compute alert's type info only once.

Let's hope the compiler will have more opportunities to optimize this,
given more static information.