Only call glDeleteBuffers(...) if handle is not 0

Calling glDeleteBuffers(...) with zero causes crash.

Change-Id: Ice6ee3e4b7071a3edb01eb3cab5da6501287312b
Merge topic 'fix-bufferobject-crash' into master

c4c20aa3 Only call glDeleteBuffers(...) if handle is not 0