In my experience, I've never seen people over 40 have any more issues than younger folks getting programming jobs.
However, the reason you don't see many, is that most don't want that job by the time they are that age. For most programmers, they will hit a glass ceiling on salary somewhere in their 30s. If they want to make more money, and most people do, they transition into management.
The answer to the question, "where did they go?" is pretty simple. Management.