va_surface: fix return value when device creation fails