Bug 1026184: Fix security product version compare.

Would fail to create a proper version if version
string contained no minor version (e.g. "31").

@jgmize r?