Remove URIUtils::GetExtension(..) function without return value

Like my earlier PR but this time for void URIUtils::GetExtension(..).