Fix bug #60078 (PECL)

Fix bug #60078 (https://bugs.php.net/bug.php?id=60078)
allow bind_to_cpu to fail (some logical CPUs will have frequency = 0) and protect code in this case (in hp_mode_sampled_init_cb to avoid division by 0)