[PATCH 4.19 74/80] panic: Consolidate open-coded panic_on_warn checks