[CORE] Minor improvement in accuracy of loops_per_usec and loops_per_msec calculation

Signed-off-by: Anup Patel <anup@brainfault.org>