v8: trim sub-version number