(maint) remove operatingsystemrelease duplication

Prior to this commit, the `operatingsystemrelease` fact had a
significant amount of duplicate code in determining the release version
of the operating system.
This commit condenses that code to a more managable format.