mem: Document OOM behavior for allocations

Matthias Clasen requested to merge document-oom-behavior into main

For all the memory allocator APIS, document that they terminate the program on failure.

This was so far only mentioned in the long description, and in the docs for g_try_malloc(). And with gi-docgen style docs, the long description is going away.

Merge request reports