libdrm/tegra: Do not return or double-free free'd handle
libdrm/tegra: Initialize fencep to NULL on error
libdrm/tegra: Check for NULL-bo

While we're at it, move a declaration inside the only scope it's
used in.
libdrm/tegra: Add drm_tegra_bo_unmap