Fix size calculation of user data header decoder