Copypasta
Added missing check for size of VertexBuffer
Merge pull request #135 from Vodacek/monogame-sdl2

Added missing check for size of VertexBuffer
Merge from upstream MG-SDL2