bag_to_pcd: check return code of transformPointCloud()

This fixes a bug where bag_to_pcd segfaults because of an ignored
tf::ExtrapolationException.
Merge pull request #22 from mintar/fix_bag_to_pcd

bag_to_pcd: check return code of transformPointCloud()