Deprecated function "add_custom_image_header"

Hi,
With buddypress community theme and wp-debug ON, i receive this notice:

Notice: add_custom_image_header is deprecated since version 3.4! Use add_theme_support( 'custom-header', $args ) instead. in public/wp-includes/functions.php on line 2638

It seems this function is used in /wp-content/plugins/buddypress/bp-themes/bp-community/functions.php

Regards
Dimitri