Backport "Framework: AOSP Fix - starting window memory leak" from CM10.1

If starting window is added to arrays like mViews in
WindowManagerImpl.java, but not accepted by WindowManagerService,
we leak starting windows. To avoid leaking, remove the view
from WindowManager.

Originally author: Mathias Jeppsson
Backported from CM10.1 by Daveee10
Revert "Backport "Cache copy of pre-scaled Bitmaps" from CM10.1"

This reverts commit a292cbae6f7a05e9d7bad6673e5c0afbf2326fbc.