Fix TechTree prerequisite bug for buildings with a build limit.

Fixes #5153 by preventing buildings with a BuildLimit value set always being added to the buildables cache, which is then used to determine prerequisites.