Tests: Add missing error check in CudaOnly.GPUDebugFlag
If `cudaMallocManaged` fails then later use of `has_debug` is not valid.
If `cudaMallocManaged` fails then later use of `has_debug` is not valid.
mentioned in commit 62c5fc80
·mentioned in commit 62c5fc80