added standard malloc-like-function attributes (issue 530)