hal: Fix compilation error when COMPRESS flag is defined

 -change "else if" condition to "if" to fix compilation error
  when COMPRESS_ENABLED flag is defined.

Change-Id: Iab7412b202daaa08f5f85f21ec1e990447dc814f
1 file changed