Robust GNN-based Representation Learning for HLS