libpftimers: add msleep wrapper for nanosleep
libpftimers: simplify and strengthen monitor timing handling
libpftimers: use unique monitor_key based on system clock