gpio: remove check for MAX_GPIO_ID

Remove this check, as max GPIO number can vary from platform to
platform.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>