Fix test_pip_freeze for coglet-alpha pinned version
The old pinned coglet-alpha (v0.5.0-alpha18) has different dependency
resolution that yields typing_extensions==4.15.0, while the embedded
coglet and cog wheels get 4.12.2 from the base image. Update the test
to handle both cases.