Make some locals immutable.
auto merge of #2655 : Ms2ger/servo/warnings, r=jdm