Frame constants of Gabor frames near the critical density