tegra: Fix warnings

close() and ioctl()

Signed-off-by: Andreas Färber <andreas.faerber@web.de>