Bike frames take a lot of stress when skinny people go over jumps & over curbs, logs, or rocks. Overweight won't hurt the frame and the beefier tires of a mountain bike will be fine (esp 36-spoke wheels).
Just don't buy the cheap Walmart bikes as I wouldn't trust them on a flat road. Buy a decent bike @ a bike shop but save the high-priced, fancy feature model until you're closer to your target weight. This saves your money in case you end up hating it, but it will also let you make a smarter choice when ready to get serious.