On the character of certain modular irreducible representations