Free unneeded obsolete maps

In cases where there are no new obsolete methods we can get rid of the
obsolete maps arrays.

Bug: 31455788

Test: ./test.py --host -j40

Change-Id: I4a8cd96b4293439c6e67d9426011b92125cc7b03
(cherry picked from commit 1e3926ae224c6418c6e1209bb134c28116a2c1fb)
3 files changed