sim: Fix erasure ordering in the futex map.

Erase an element after one of its components are used to erase an
element of another map. This is an error and causes build breakage in
newer versions of gcc.

Change-Id: I83a00410cbf2ae5fc23b12080cd374965df1a5ac
Maintainer: Gabe Black <>
Reviewed-by: Jason Lowe-Power <>
Tested-by: kokoro <>
1 file changed