Release pin in enum loop

I forgot that CComPtr does not release the pin when calling the &
operator to overwrite the existing value.  Slightly annoying, but I
suppose it's more for safety's sake rather than the sake of convenience,
which is a good thing.