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.
Make NativeSurface::upload a mut method
Replace transmute with as and as_mut_slice
Merge pull request #95 from mbrubeck/android-bitmap

Fix use-after-free on Android.