Common.h: Make num_threads signed int, for robustness
pc_align: Minor tweak