Add Reader::skip_exact method

This implements the fix for #19022