get_pinned_version: Fix constructing of InstallRequirement
get_pinned_version: Fix constructing of InstallRequirement

InstallRequirement should be constructed with
`InstallRequirement.from_line` instead of directly calling the
constructor.  This fixes an assert error with Pip 10.

suutari/prequ,suutari/prequ,suutari-ai/prequ