This is just a standard thing. TVs take 5-10% of the screen and ignore it because on a tv broadcast back in the day, garbage video info (like closed caption encoding ect) is displayed there.
Now with digital tvs this isn't an issue, but the old tube tvs are designed to work that way.
As retrorepair stated the only way to fix this is to adjust via the video card drivers, or to use one of these apps that hacks your video card to do custome mode lines and tweak the visible image that way.
You CAN do a border in mame btw, but that isn't going to solve your problem.