workaround gcc got-register-reload performance problems in malloc