cm versioning: fix certificate check

The variable used does not exist at this stage of the build. Switch
to PRODUCT_DEFAULT_DEV_CERTIFICATE, which does exist when in use.

Credits: bekriebel