Update mutex manage function.
Add task change priority function.
Code indent and clean.

Signed-off-by: Shanjin Yang <sjyang@credosemi.com>