[AML] Be rid of damned cpu type magic numbers

As per title.
@Stane1983 can you verify that this is safe also for m8?