Bug 1054076 - Make imgFrame reference counted. r=tn