Recognize version attributes in provides hash

The current lack of recognision causes erroneous results, and combined with the recent versioning fix breaks Module::Build, see also rt#84271.