gcc_release: For RELEASE_MAJOR 5+ only use the major number in branch name.