[boost] Diagnostic improvements in 1.78/1.79