HRCPP-36 Compiler warning for BlockingQueue.h

Change the type for capacity from int to size_t to remove compiler warning.