libplatformconfig: define a separate print macro

libplatformconfig uses the print macro defined that uses debug level which may
go out of scope and cause heap-use-after-free

Change-Id: Iee3fe156ceaaea8bfc86beb8220476f2ba85bb73
3 files changed