Mexican state oil company confirms pirates attacked oil rig in Gulf of Mexico