gpio/nomadik: add function to read GPIO pull down status