[rt] Fix type for rep_size and rep_size_slot in function declaration.