Bug 1081401: Remove unnecessary autoboxing.

See: https://bugzilla.mozilla.org/show_bug.cgi?id=1081401