hal: add missed brace to fix compile issue

One closing brace is missed in the condition and compile fails.
Add the missed brace to fix it.

Change-Id: Ibac67761b256dacc64afd13ce61ff56ca7385c18
1 file changed