[BitcodeReader] Check vector size before trying to create a VectorType