Boosting Medical Image Classification with Segmentation Foundation Model