Brauer characters of prime power degrees and conjugacy classes of prime power lengths