Gradient Ricci solitons with vanishing conditions on Weyl