contint: use Apache <IfVersion> instead of os_version

Similarly with the previous commit, drop $is_24 in favor of <IfVersion>.

Change-Id: If083cfdf515f6941eaa68e78d7b93d85996b837a