core: Fix compile error with QCOM_LEGACY_UIDS

Change-Id: I01c7f73ba0e87533ae06b8af183b4c88dbbf944e
Core: fix compile issue of healthd.`

fixes this in darwin cp: symlink: /sbin/healthd: File exists

Change-Id: Ia0a51962ec6d1713ece1e9c1d4f9df479fee5f5b