Effect of Defect Position on Optical Absorption in a Graphene-Based One-Dimensional Photonic Crystal