gearman: Fix <cinttypes> on Mavericks

On OS X 10.9 Mavericks GM, "gearman" doesn't build because of the missing `<tr1/cinttypes>` (which appears to be available only as `<cinttypes>` since 10.9).