Fix hook to improve astyle parameters

 * Make lines shorter than 80 chars
 * Add brackets to one line conditional statements

Change-Id: I7ac80b9ee845927215b0d6639d7d4d96b17b0763