Fixed places where -1 is returned as an AMD result code

Don't return -1 (0xffffffff) as an AMD result code, will cause a crash if that result is passed to SDMMD_AMDErrorString