gralloc: fix find_last_rect()

Change-Id: Ib9346bac87c4264f610afde442a8ea8231922aae