[PATCH 3.16 143/157] mm/page_alloc.c: calculate 'available' memory in a separate function