rt2x00: rt2800lib: add rt2800_hw_beacon_base helper