[[ Bug 12479 ]] Make sure extent related calculations in MCVariableValue...

... all use uint32_t's.