Merge "Fix UB in ResourceTable::stringToInt."