opam: only specify major opam version

Doing otherwise trips up earlier versions of opam, even though the file
is compatible with them.