Merge "parser: Validate $length in padleft/padright parser functions" into REL1_31