x86: add x86_clear_dbregs() helper
(cherry picked from commit a8b75a57c9b2cb3388746f097a55086a0f8c5d38)