maa.c: complain if we didn't detect a valid platform

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
maa: add maa_get_platform_type function and move swig common to type.h

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>