ubox: fix up pidcount handling inside log.init