bag_to_pcd: check return code of transformPointCloud()

This fixes a bug where bag_to_pcd segfaults because of an ignored 
tf::ExtrapolationException.