Revert "mm: fix calculation of dirtyable memory"

Change-Id: I7ca74e39dd58cd38d7ad5f9f8ecbfb9d429866a2