Ensures that capacity is reserved for at least the specified number of queue items.
Existing queue items are preserved.