glx: Check malloc return value before accessing memory in glx/clientattrib.c