[AML] Be rid of damned cpu type magic numbers

As per title.
AMLCodec stuff needs to be changed as well and few other parts if I recall. I can't check at the moment. For example, in AMLCodec we check if it's not M8 platform or higher, we won't allow reproducing of 4K content... I think its not ready for merging yet, needs checking all places where it's used.