pathmap: use platform-for-display to detect the platform

Change-Id: I3209b6a29bd9b9d3ed33ff18a15d1f512ce6d765