Parse platform in the GEM section of Gemfile.lock

RubyGems did not understand that "a (1.2-x86_64-linux)" had both a
version and a platform.  This caused an ArgumentError when processing
such Gemfiles.

Fixes #767