refactor(mediatek): refactor handling of variables with value 'n'

Refactor to properly handle the case when the variable has a value
of 'n'.

Change-Id: I2f5045253511ec5e5d717821d8428c4e3ed6b7b6
1 file changed