Add a 'module Platform_code' (not currently part of the external interface)

This is only needed to interpret the parent locators,
of which only one type (Platform_code) is relevant in
modern types (MacX)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>