RE: barrel length
Actually the barrel length is measured from the bolt face to the end of the barrel.....but it's about the same as to the bleed hole.....we're talking very minor differences.
About velocity.....a better rule of thumb is about 25-30'/sec per inch loss.....I'd venture you will loose 50 feet/sec going from the 24" to the 22" barrel......it's purely academic.