Fix possible integer overflow in license_read_scope_list()