Bug 836061: Fix instances of octal form of parseInt that don't specify the number base

This just forces octal parsing for the two cases where we use it.