ntdll: Improve check_atl_thunk to prevent passing exceptions to the usermode application.