Efficient sampling of knotting-unknotting pathways for semiflexible Gaussian chains