Olympic triathlon champion Alistair Brownlee has given up on his hopes of running the 10,000m at the Commonwealth Games this summer.