Revert two commits

"SERVER-14668 Fix compile break on 32-bit and Clang": bcea622441dc2f689c4651981f9d7929a1dd75b3

"SERVER-14668 Move getIndexSizeForCollection to be a method on Collection": e671a2c31f6b555254e4ad8265f66578f8c805aa