[test] use CLOCK_PROF for NetBSD build