Use cast to MVT instead of EVT on a couple calls to getSizeInBits.