Add permission checks for sfdo functions.

The sfdo functions should only be called from a system uid. If the permission check fails the call return an error.

Bug: 379296794
Test: adb shell sfdo debug-flash
Flag: EXEMPT minor bug fix - permission check
Change-Id: Iafff85704c61779b3b0ae43946238a86a0841760
1 file changed