[Coverity] Fix missing check for negative return
[Coverity] Fix missing check for negative return

etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,etnlGD/renderdoc,cgmb/renderdoc,googlestadia/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,etnlGD/renderdoc,googlestadia/renderdoc,baldurk/renderdoc,cgmb/renderdoc,googlestadia/renderdoc,cgmb/renderdoc,baldurk/renderdoc,baldurk/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public,baldurk/renderdoc,cgmb/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,michaelrgb/renderdoc,TurtleRockStudios/renderdoc_public,michaelrgb/renderdoc,Zorro666/renderdoc,Zorro666/renderdoc,TurtleRockStudios/renderdoc_public,googlestadia/renderdoc,michaelrgb/renderdoc,baldurk/renderdoc,michaelrgb/renderdoc,cgmb/renderdoc,etnlGD/renderdoc,TurtleRockStudios/renderdoc_public,googlestadia/renderdoc,TurtleRockStudios/renderdoc_public