Yeah both namk and mawk left me cold for the sorts of things they have chosen to not support. In your case I would probably ditch the if all together as it is not really testing anything and just perform
the assignment and the print:
Code:
awk '{$5="chr"$5;print}' file
Should hopefully work