[MIPS] au1000: Make sure GPIO value is zero or one