x86/mpx: Fix off-by-one comparison with nr_registers