Photoluminescence characterization of nonradiative recombination in carbon‐doped GaAs