Kinematical x‐ray diffraction in nonuniform crystalline films: Strain and damage distributions in ion‐implanted garnets