profile: use atexit not g_atexit
profile: use atexit not g_atexit

g_atexit has been deprecated so we simply use atexit instead now.

Reviewed-by: Neil Roberts <822ec91a7ef82248fd36162ca8ac3283eba70848@linux.intel.com>

djdeath/cogl-android,collects/cogl,djdeath/cogl-android,collects/cogl,Distrotech/cogl,gcampax/cogl,djdeath/cogl,djdeath/cogl,Distrotech/cogl,djdeath/cogl-android,gcampax/cogl,Distrotech/cogl,gcampax/cogl,djdeath/cogl,gcampax/cogl,Distrotech/cogl