Implement support for versioned autorequires

If artifact was resolved from compat package then autogenerated
requires should include GAV triple.