Bug 1034930 - Improve the const correctness of BinaryOutputStream::writeBytes; r=upstream