amr: replace obsolete bzero() with memset()