cpp11-migrate: Refactor NullptrActions

Several free functions related to macro arg testing are being moved into
CastSequenceVisitor to facilitate upcoming fix.