A study of orientational ordering in a fluid of dipolar Gay-Berne molecules using density-functional theory