Stability Result for a Kirchhoff Beam Equation with Variable Exponent and Time Delay