microsoft/compiler: trivial fixes to error-handling

We're really bad at making sure we report errors when we fail to
allocate memory. This makes us a bit better...

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <!12541>
35 jobs for !12541 with d3d12-compiler-fixes in 11 minutes and 23 seconds (queued for 13 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #13135805

00:00:14

 
  Container
passed debian/arm_build #13135810
aarch64

00:00:16

passed debian/x86_build-base #13135806

00:00:11

passed debian/x86_test-base #13135808

00:00:11

passed fedora/x86_build #13135812

00:00:11

passed windows_build_vs2019 #13135813
windows shell 1809 mesa

00:00:10

 
  Container 2
passed debian/android_build #13135823

00:00:18

passed debian/i386_build #13135818

00:00:18

passed debian/ppc64el_build #13135820

00:00:18

passed debian/s390x_build #13135821

00:00:18

passed debian/x86_build #13135816

00:00:17

passed debian/x86_test-gl #13135825

00:00:14

passed debian/x86_test-vk #13135826

00:00:18

passed kernel+rootfs_amd64 #13135828

00:00:20

passed kernel+rootfs_arm64 #13135830
aarch64

00:01:03

passed kernel+rootfs_armhf #13135832
aarch64

00:00:10

 
  Build X86 64
passed debian-clang #13135844

00:09:13

passed debian-clover #13135845

00:01:11

passed debian-clover-testing #13135837

00:00:37

passed debian-gallium #13135839

00:03:51

passed debian-release #13135840

00:08:23

passed debian-testing #13135834

00:01:30

passed debian-testing-asan #13135836

00:02:41

passed debian-vulkan #13135847

00:01:54

passed fedora-release #13135842

00:04:10

 
  Build Misc
passed debian-android #13135851

00:01:54

passed debian-arm64 #13135854
aarch64

00:01:29

passed debian-arm64-asan #13135856
aarch64

00:02:52

passed debian-arm64-build-test #13135858
aarch64

00:01:25

passed debian-armhf #13135852
aarch64

00:01:47

passed debian/arm_test #13135849

00:01:01

passed debian-i386 #13135863

00:02:00

passed debian-mingw32-x86_64 #13135865

00:01:51

passed windows-vs2019 #13135860
windows docker 1809 mesa

00:04:58

 
  Layered Backends
passed test-d3d12-windows #13135866
windows docker 1809 mesa

00:03:54