dm: fix printk() rate limiting code