strmbase: COM cleanup for BasePin, BaseInputPin, and BaseOutputPin.