Homeotropic surface anchoring of a Gay-Berne nematic liquid crystal