Added definition for atexit()

This is an empty stub to simply allow use of complex types with a non global static lifetime.
For more complex handling the function `atexit` can be redefined in user code.