perf/x86: Fix incorrect use of do_div() in NMI warning