hw: clrex during context switch (Fixes #1196)