Modify a version using a template. This is an alias to the versionmask macro.

The version macro is an alias to the versionmask macro for backward compatibility reasons.