Ecclestone 'working' to help Massa stay in F1 