Removed an unused member variable in Bitmap.
Remove unneeded friend declarations in Bitmap.