Ahead of the Bell: Core Labs rallies on earnings