Fix use-after-free on Android. …
Fixes servo/servo#2916 (broken rendering on Android), which happened because the `bitmap` pointer outlived the Vec<u8> that it pointed to.