Add @generated annotation to lockfile (ref PR 2210)

Same reasoning as here: https://github.com/composer/composer/pull/2210