RtlFreeHandle only should call RtlIsValidHandle in debug builds.