profcollectd: Validity check input to delete_report

Since profcollectd is a system process, we need to validity check the
argument to delete_report to prevent malicious users from deleting other
system files by injecting relative path.

Test: presubmit
Bug: 79161490
Change-Id: I5ab1794d069dad01ebd1e470f9ce75573e83c1a3
1 file changed