Merge "Check the fd handle before attempting to use it in GNSS HAL"