RtsFlags: Make `mallocFailHook` const correct