Theoretical study of the K-photoabsorption cross section of carbon in the acetylene molecule