batman-adv: Only write requested number of byte to user buffer