Fix const-correctness issues with the SrcValue handling in the