Bug 968244 - Make IPDL-generated code not crash on bad shmems - r=bent