Standardise our style for checking malloc failures