hsr: off by one sanity check in hsr_register_frame_in()