Nonergodicity and central limit behavior for systems with long-range interactions