[NFC] Define NumBuiltinElts utility just once at the beginning of SmallVectorTest file

Extracted from: https://reviews.llvm.org/D130268

Differential Revision: https://reviews.llvm.org/D131173

GitOrigin-RevId: 7d7a712c9861592e64a9dc09038e24c6b062ba59
1 file changed