Bug 988122 - Followup: fix bogus constification code. r=bz