[lld][LayoutPass] initialize the number of entries for the densehash (no functionality change)