Fix build palette showing too many queued items when BuildLimit is reached

When a BuildLimit on an actor type is set and nearly reached, you could
shift-click the build palette and it would show it had five more units
queued when really less are allowed to be built. This fixes the text
overlay so that it shows the correct number of items that will be built.