Added missing check for size of IndexBuffer
Merge pull request #136 from Vodacek/monogame-sdl2

Added missing check for size of IndexBuffer
Another MG-SDL2 upstream merge.