Bug 1026184: Fix security product version compare.

Would fail to create a proper version if version
string contained no minor version (e.g. "31").
Merge pull request #2298 from pmclanahan/fix-security-advisory-issues-1026184

Bug 1026184: Fix security product version compare.